<template>
  <div class="header">
    <mt-header :title="title">
        <mt-button icon="back" slot="left" @click="handleClose">返回</mt-button>
      <!-- <mt-button icon="more"
       slot="right"></mt-button> -->
    </mt-header>
  </div>
</template>
<script>

import Vue from 'vue'
import { Header } from 'mint-ui'
import 'mint-ui/lib/style.css'
Vue.component(Header.name, Header)

export default {
  name: 'vue-header',
  props: {
    title: String
  },
  data: function () {
    return {

    }
  },
  mounted () {
  },
  components: {
    Header
  },
  methods: {
    handleClose () {

    }
  }
}
</script>
<style scoped>
.mint-header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 11;
}
.mint-header {
  height: 44px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
</style>
